/**
 * 
 * @author jsxgr@qq.com
 * 
 */

const { Table, Column, Model } = window.require('sequelize-typescript');
import BaseTable from './base_table';

@Table({
  tableName: 'gen_table_column'
})
export default class GenTableColumn extends BaseTable {
    
    @Column
    tableId:string;

    @Column
    columnName:string;

    @Column
    columnComment:string;

    @Column
    columnType:string;

    @Column
    codeType:string;

    @Column
    codeField:string;

    @Column
    isPk:string;

    @Column
    isIncrement:string;

    @Column
    isRequired:string;

    @Column
    isInsert:string;

    @Column
    isEdit:string;

    @Column
    isList:string;

    @Column
    isQuery:string;

    @Column
    queryType:string;

    @Column
    htmlType:string;

    @Column
    dictType:string;
    
    @Column
    sort:string;
    
}
